package top.huxy.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huxy.boot.model.entity.VideoApi;

import java.util.List;

/**
 * @Classname VideoApiMapper
 * @Description VideoApiMapper
 * @Date 2021/9/14 16:51
 * @Created by huxy
 */
@Repository
@Mapper
public interface VideoApiMapper {
    List<VideoApi> getVideoApiList();

    int add(VideoApi videoApi);

    int update(VideoApi videoApi);

    int delete(int id);

    int changeEnable(int id, boolean enable);
}
